/* 
 * File:   Trapezium.h
 * Author: lgr013
 *
 * Created on 13 de septiembre de 2014, 12:12
 */

#ifndef TRAPEZIUM_H
#define	TRAPEZIUM_H

#include "Object.h"
#include "ObjFactory.h"
#include "SkinFactory.h"
#include "Dot.h"
#include <Box2D/Box2D.h>
#include "../Controller/SBSLog.h"

class Trapezium {
private:
    Object *object;
    Dot *dot;
    double alpha;
    double beta;

public:
    Trapezium();
    Trapezium(ObjFactory *objFactory, bool flagStatic, float x, float y, float base, float height, double alpha, double beta, float mass, float rotation);
    virtual ~Trapezium();
    bool draw(Uint8 r,Uint8 g,Uint8 b,Uint8 a);
    
    b2Vec2 getPosition();
    float getAngle();
    float getAngularVelocity();
    
    void setAngularVelocity(float velocity);
    
};

#endif	/* TRAPEZIUM_H */

